﻿using System;
using System.ComponentModel;

namespace Marmat.Forms
{
    public partial class FileManager
    {

        /// <summary>
    /// 保存时执行的事件，用于真正的做保存动作。
    /// </summary>
        [Browsable(true)]
        public event EventHandler<FileManagerCustomSaveingEventArgs> CustomSaveFileing;

        /// <summary>
    /// 添加文件前发生
    /// </summary>
        public event EventHandler<FileItemCancelEventArgs> BeforeAddFile;

        /// <summary>
    /// 添加文件后发生。
    /// </summary>
        public event EventHandler<FileItemEventArgs> AfterAddFile;

        /// <summary>
    /// 移除文件之前执行。
    /// </summary>
        public event EventHandler<FileItemCancelEventArgs> BeforeRemoveFile;
    }
}